package com.prb.tomcat.servlet;

import com.prb.tomcat.protocol.IServlet;
import com.prb.tomcat.protocol.MyRequest;
import com.prb.tomcat.protocol.MyResponse;

public class IndexServlet implements IServlet {


    @Override
    public Object doGet(MyRequest request, MyResponse response) {
        return dopOST(request , response);
    }

    @Override
    public Object dopOST(MyRequest request, MyResponse response) {

        System.out.println("index servlet invoke......");
        return "indexServlet";
    }
}
